package com.jcxh.sg_exam.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @TableName user
 */
@TableName(value = "user")
@Data
@ColumnWidth(18)
@HeadRowHeight(38)
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    /**
     *
     */
    @ExcelProperty(value = "序号")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String name;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别")
    private String sex;

    /**
     * 工作单位
     */
    @ExcelProperty(value = "工作单位")
    private String workUnit;

    /**
     * 身份证号
     */
    @ExcelProperty(value = "身份证号")
    private String idNumber;

    /**
     * 电话号码
     */
    @ExcelProperty(value = "联系方式")
    private String phone;




    /**
     * 密码BCript加密
     */
    @ExcelProperty(value = "密码")
    private String password;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
